#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QWSServer>
#include "maquina_tx.h"
#include "definiciones_hscar.h"
#include <QDebug>
namespace Ui {
    class Widget;
}

class Widget : public QWidget {
    Q_OBJECT
public:
    Widget(QWidget *parent = 0);
    ~Widget();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::Widget *ui;
    int Puerto_Serie;

private slots:

    void on_keypad_0_pressed();
    void on_keypad_1_pressed();
    void on_keypad_2_pressed();
    void on_keypad_3_pressed();
    void on_keypad_4_pressed();
    void on_keypad_5_pressed();
    void on_keypad_6_pressed();
    void on_keypad_7_pressed();
    void on_keypad_8_pressed();
    void on_keypad_9_pressed();
    void on_keypad_dot_pressed();
    void on_keypad_back_pressed();
    void on_pushButton_2_clicked();
    void on_pushButton_openport_clicked();
};

#endif // WIDGET_H
